package com.ruoyi.electrical.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 electrical_emergency_check
 *
 * @author ruoyi
 * @date 2022-05-09
 */
public class ElectricalEmergencyCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 应急检修单号 */
    private Long emergencyCheckId;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 养护机构 */
    @Excel(name = "养护机构")
    private String maintenanceOrganization;

    /** 故障日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "故障日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date faultDate;

    /** 设备管理单号 */
    @Excel(name = "设备管理单号")
    private Long electricalEquipmentId;

    /** 故障部位 */
    @Excel(name = "故障部位")
    private String faultLocation;

    /** 应急措施 */
    @Excel(name = "应急措施")
    private String emergencyMeasures;

    /** 检查人 */
    @Excel(name = "检查人")
    private String checker;

    /** 记录人 */
    @Excel(name = "记录人")
    private String recorder;

    public void setEmergencyCheckId(Long emergencyCheckId)
    {
        this.emergencyCheckId = emergencyCheckId;
    }

    public Long getEmergencyCheckId()
    {
        return emergencyCheckId;
    }
    public void setTunnelId(Long tunnelId)
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId()
    {
        return tunnelId;
    }
    public void setMaintenanceOrganization(String maintenanceOrganization)
    {
        this.maintenanceOrganization = maintenanceOrganization;
    }

    public String getMaintenanceOrganization()
    {
        return maintenanceOrganization;
    }
    public void setFaultDate(Date faultDate)
    {
        this.faultDate = faultDate;
    }

    public Date getFaultDate()
    {
        return faultDate;
    }
    public void setElectricalEquipmentId(Long electricalEquipmentId)
    {
        this.electricalEquipmentId = electricalEquipmentId;
    }

    public Long getElectricalEquipmentId()
    {
        return electricalEquipmentId;
    }
    public void setFaultLocation(String faultLocation)
    {
        this.faultLocation = faultLocation;
    }

    public String getFaultLocation()
    {
        return faultLocation;
    }
    public void setEmergencyMeasures(String emergencyMeasures)
    {
        this.emergencyMeasures = emergencyMeasures;
    }

    public String getEmergencyMeasures()
    {
        return emergencyMeasures;
    }
    public void setChecker(String checker)
    {
        this.checker = checker;
    }

    public String getChecker()
    {
        return checker;
    }
    public void setRecorder(String recorder)
    {
        this.recorder = recorder;
    }

    public String getRecorder()
    {
        return recorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("emergencyCheckId", getEmergencyCheckId())
            .append("tunnelId", getTunnelId())
            .append("maintenanceOrganization", getMaintenanceOrganization())
            .append("faultDate", getFaultDate())
            .append("electricalEquipmentId", getElectricalEquipmentId())
            .append("faultLocation", getFaultLocation())
            .append("emergencyMeasures", getEmergencyMeasures())
            .append("checker", getChecker())
            .append("recorder", getRecorder())
            .toString();
    }
}
